package com.loe.test.frag

import android.os.Bundle
import com.loe.mvp.BaseFragment
import com.loe.test.R
import com.loe.test.databinding.FragmentTestBinding
import kotlinx.android.synthetic.main.fragment_test.*

class TestFragment1 : BaseFragment()
{
    override fun getLayout() = R.layout.fragment_test

    private val binding by lazy { FragmentTestBinding.bind(view!!) }

    override fun onCreated(savedInstanceState: Bundle?)
    {
        initEvent()
    }

    override fun initEvent()
    {
        button.setOnClickListener()
        {
            toast("binding dfdfg水电费")
        }
    }
}
